import LoginView from '@/views/LoginView.vue'
import HomeView from '@/views/home/HomeView.vue'
import UserView from '@/views/home/UserView.vue'

const routes = [
  {
    path: '/', component: LoginView
  },
  {
    path: '/login', component: LoginView
  },
  {
    path: '/home',
    name: 'home',
    component: HomeView,
    children: [{
      path: 'users',
      name: 'users',
      component: UserView
    }]
  },

]
export default routes
